package com.newx.common.translation.core.impl;

import com.newx.common.translation.annotation.TranslationType;
import com.newx.common.translation.constant.TransConstant;
import com.newx.common.translation.core.TranslationInterface;
import lombok.AllArgsConstructor;

/**
 * OSS翻译实现
 *
 * @author Lion Li
 */
@AllArgsConstructor
@TranslationType(type = TransConstant.SYMBOL_TO_LOGO_URL)
public class SymbolUrlTranslationImpl implements TranslationInterface<String> {

//    private final OssService ossService;

    @Override
    public String translation(Object key, String other) {
//        if (key instanceof String ids) {
//            return ossService.selectUrlByIds(ids);
//        } else if (key instanceof Long id) {
//            return ossService.selectUrlByIds(id.toString());
//        }
        return null;
    }
}
